﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Framework;

namespace CodeFirstDomain.Model
{
    public class SharePie : DbValueObject
    {
        public SharePie()
        {
            
        }


        public SharePie(List<Share> shares)
        {
            Shares = shares ?? new List<Share>();
            CreateTime = DateTime.Now;
        }


        public DateTime CreateTime { get; set; }

        public List<Share> Shares { get; private set; }
    }
}
